package com.Generics.bean.ch05;

/**
 * @author nmm
 * @date 2024-03-2024/3/31
 * @deriction njm......
 */
public class Cat extends Animal{
    private  String name;

    public void sound() {
        System.out.println("喵喵喵喵喵喵");
    }

    public void setName(String name) {
        this.name = name;
    }
}
